package com.ruoyi.caiwu.service;

import java.util.List;
import com.ruoyi.caiwu.domain.AccountingVoucherAttachment;

/**
 * 凭证附件Service接口
 *
 * @author ruoyi
 * @date 2025-02-25
 */
public interface IAccountingVoucherAttachmentService
{
    /**
     * 查询凭证附件
     *
     * @param attachmentId 凭证附件主键
     * @return 凭证附件
     */
    public AccountingVoucherAttachment selectAccountingVoucherAttachmentByAttachmentId(Long attachmentId);

    /**
     * 查询凭证附件列表
     *
     * @param accountingVoucherAttachment 凭证附件
     * @return 凭证附件集合
     */
    public List<AccountingVoucherAttachment> selectAccountingVoucherAttachmentList(AccountingVoucherAttachment accountingVoucherAttachment);

    /**
     * 新增凭证附件
     *
     * @param accountingVoucherAttachment 凭证附件
     * @return 结果
     */
    public int insertAccountingVoucherAttachment(AccountingVoucherAttachment accountingVoucherAttachment);

    /**
     * 修改凭证附件
     *
     * @param accountingVoucherAttachment 凭证附件
     * @return 结果
     */
    public int updateAccountingVoucherAttachment(AccountingVoucherAttachment accountingVoucherAttachment);

    /**
     * 批量删除凭证附件
     *
     * @param attachmentIds 需要删除的凭证附件主键集合
     * @return 结果
     */
    public int deleteAccountingVoucherAttachmentByAttachmentIds(Long[] attachmentIds);

    /**
     * 删除凭证附件信息
     *
     * @param attachmentId 凭证附件主键
     * @return 结果
     */
    public int deleteAccountingVoucherAttachmentByAttachmentId(Long attachmentId);
}
